package com.example.test.mapper;

import com.example.test.entity.News;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

@Mapper
public interface NewsMapper {

    List<News> findAll();

    List<News> findNewComments();

    List<Map<String,Object>> findNewComments2(Integer offset,Integer pageSize);

}